package com.dkm.orproject.dkmoa.service;

import com.dkm.orproject.dkmoa.domain.OaDataDictionary;

import java.util.List;

/**
 * @ClassName : OaDataDictionaryService  //类名
 * @Description : 数据字典服务接口  //描述
 * @Author : 易嵘  //作者
 * @Date: 2020-08-05 14:06  //时间
 */
public interface OaDataDictionaryService {
    List<OaDataDictionary> findAll(OaDataDictionary dataDictionary, String startTime, String endTime, Integer page, Integer limit);

    Long rowCount(OaDataDictionary dataDictionary, String startTime, String endTime);

    int add(OaDataDictionary dataDictionary, String personnelName);

    int update(OaDataDictionary dataDictionary, String personnelName);

    List<OaDataDictionary> selectAll(List<Long> list);

    int deleteAll(List<Long> list);

    OaDataDictionary findById(Long id);

    int deleteById(Long id);

    List<OaDataDictionary> findKeyword(String key);
}
